package com.atguigu.lease.web.app.mapper;

import com.atguigu.lease.model.entity.BrowsingHistory;
import com.atguigu.lease.web.app.vo.history.HistoryItemVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

/**
* @author yangchengbao
* @description 针对表【browsing_history(浏览历史)】的数据库操作Mapper
* @createDate 2023-07-26 11:12:39
* @Entity com.atguigu.lease.model.entity.BrowsingHistory
*/
@Mapper
public interface BrowsingHistoryMapper extends BaseMapper<BrowsingHistory> {

    /**
     * @param historyItemVoPage
     * @param userId
     * @Desceription: 获取浏览历史
     * @Return: com.baomidou.mybatisplus.core.metadata.IPage<com.atguigu.lease.web.app.vo.history.HistoryItemVo>
     * @Author: yangchengbao
     * @Date: 2025-01-11 10:01:65
     */
    IPage<HistoryItemVo> pageItemByUserId(Page<HistoryItemVo> historyItemVoPage, Long userId);
}




